package com.study.delegate.simple;

public class Boss {

    public void command(String task,Leader leader){
        leader.doing(task);
    }

    public static void main(String[] args) {
        new Boss().command("卖货",new Leader());
    }
}
